package com.warren.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * @author warren
 * @date 2021/4/9 0009 11:15
 * @Description 角色菜单关联表
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_role_menu")
@ApiModel(value = "RoleMenu对象",description = "角色菜单关联表")
public class RoleMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色ID")
    private Long roleId;

    @ApiModelProperty(value = "菜单/按钮")
    private Long menuId;
}
